import Joi from "joi";
import { Context } from "koa";

import validate from "../libs/validate";
import { JsonResp } from "../libs/stats";
import * as kanbanService from "../services/kanban.service";

// 查询看板
export async function list(ctx: Context){
  const result = await kanbanService.list(ctx.state.user._id);
  ctx.body = new JsonResp(result);
}

// 添加看板
export async function create(ctx: Context){
  
}

// 删除看板
export async function remove(ctx: Context){
  
}




